package io.renren.modules.blog.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mili.common.utils.PageUtils;
import com.mili.common.utils.Query;

import io.renren.modules.blog.dao.LableDao;
import io.renren.modules.blog.entity.LableEntity;
import io.renren.modules.blog.service.LableService;


@Service("lableService")
public class LableServiceImpl extends ServiceImpl<LableDao, LableEntity> implements LableService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LableEntity> page = this.page(
                new Query<LableEntity>().getPage(params),
                new QueryWrapper<LableEntity>()
        );

        return new PageUtils(page);
    }

}